<template>
<div>
<div class="listBox">
    <item v-for="(item,index) in list" :key="index" :item="item"></item>
</div>
</div>
</template>

<script>
import Item from "@/components/item";
export default {
  name: "list",
  components: {Item},
  props:{
    list:{
      type:Array,
      default:[]
    }
  },
}
</script>

<style scoped lang="scss">
.listBox{
  width:100%;
  -webkit-column-count:2;
  -webkit-column-gap: 0px;
}
</style>